package Farm;

public class SGfarm implements Farm{
    @Override
    public Animal newAnimal() {
        System.out.println("SGfarm的");
        return new Cattle();
    }

    @Override
    public Plant newPlant() {
        System.out.println("SGfarm的");
        return new Vegetables();
    }
}
